package culton.android.smstracker;

import android.content.Context;
import android.telephony.SmsManager;
import android.util.Log;

public class SMSHandler {

    //---sends a SMS message to another device---
    public static void sendSMS(Context context, String phoneNumber, String message)
    {          	
        SmsManager sms = SmsManager.getDefault();
        Log.i("phone", phoneNumber);
        Log.i("message", message);
        if (message != null)
        	sms.sendTextMessage(phoneNumber, null, message, null, null);               
    }    
}
